-
Home
-
WooCommerce Blocks
-
11.7.0 (latest)
-
Code
-
Classes
- BlockTypesController
Total Complexity |
30 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
333 |
Lines of code |
218 |
Logical lines of code |
69 |
Comment lines |
82 |
Methods |
9 |
Properties |
2 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_block_types() |
A |
33 |
6 |
122 |
add_data_attributes() |
A |
49 |
8 |
27 |
has_block_variation() |
S |
58 |
6 |
15 |
init() |
S |
56 |
3 |
19 |
register_blocks() |
S |
68 |
2 |
7 |
redirect_to_field() |
S |
69 |
2 |
6 |
hide_legacy_widgets_with_block_equivalent() |
S |
62 |
1 |
14 |
__construct() |
S |
74 |
1 |
5 |
delete_product_transients() |
S |
81 |
1 |
3 |